Automattic\WooCommerce\Internal\Admin\Orders\PageController B

Total Complexity 88
Dependencies 7
Dependents 8
Total lines 569
Lines of code 319
Logical lines of code 181
Comment lines 164
Methods 21
Properties 6

Methods 21

Method Rating Maintainability Complexity Lines of code
is_order_screen()
B
39 17 66
verify_edit_permission()
S
58 8 14
set_page_title()
S
51 5 28
handle_edit_lock()
S
54 5 21
setup()
S
55 5 17
set_order_type()
S
62 6 10
register_menu()
S
54 4 22
setup_action_new_order()
S
55 4 19
set_action()
S
61 4 13
output()
S
62 4 13
get_edit_url()
S
53 3 24
verify_create_permission()
S
66 4 8
get_base_page_url()
S
65 3 7
prepare_order_edit_form()
S
66 3 8
setup_action_list_orders()
S
63 2 12
get_orders_url()
S
73 2 5
setup_action_edit_order()
S
66 2 8
get_new_page_url()
S
69 2 6
handle_load_page_action()
S
68 2 7
strip_http_referer()
S
66 2 8
get_order_type()
S
82 1 3